﻿using System.Xml.Serialization;

namespace YourDataDiscovery.UPSAddressValidation.Common
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "", IsNullable = false)]
    public sealed class Error
    {

        private string errorSeverityField;

        private string errorCodeField;

        private string errorDescriptionField;

        private string minimumRetrySecondsField;

        private ErrorLocation[] errorLocationField;

        private string[] errorDigestField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string ErrorSeverity
        {
            get
            {
                return this.errorSeverityField;
            }
            set
            {
                this.errorSeverityField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string ErrorCode
        {
            get
            {
                return this.errorCodeField;
            }
            set
            {
                this.errorCodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string ErrorDescription
        {
            get
            {
                return this.errorDescriptionField;
            }
            set
            {
                this.errorDescriptionField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string MinimumRetrySeconds
        {
            get
            {
                return this.minimumRetrySecondsField;
            }
            set
            {
                this.minimumRetrySecondsField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ErrorLocation")]
        public ErrorLocation[] ErrorLocation
        {
            get
            {
                return this.errorLocationField;
            }
            set
            {
                this.errorLocationField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ErrorDigest", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public string[] ErrorDigest
        {
            get
            {
                return this.errorDigestField;
            }
            set
            {
                this.errorDigestField = value;
            }
        }
    }

}
